﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	活动首页
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
   <link href="../../Content/ActivityList.css" rel="stylesheet" type="text/css" />

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div  class="PageContent">
        <a class="MenuTitle">缤纷活动</a><br /><br />
        <div>
            <% var aActivitys = ViewData["Activitys"] as List<ZYStudios.Models.ActivityEditModel>; %>
            
            <span class="activitylist">
            <%foreach (var aItem in aActivitys)
              { %>
              <li>
                <span style="font-size:16px">活动名称 : </span>
                <span style="font-size:16px"><%=aItem.ActivityName %></span>

                <div style="float:right" onmouseover="setShare('<%=aItem.ActivityName %>');" id="ckepop">
	                <span class="jiathis_txt">分享到：</span>
	                <a class="jiathis_button_tqq"></a>
                    <a class="jiathis_button_tsina"></a>
	                <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                </div>
                <br /><br />
                <span><%=aItem.ActivityContent %></span>
              </li>
            <%} %>
            </span>
        </div>

        <script type="text/javascript">
            function setShare(title) {
                jiathis_config.title = "中影国际影城活动介绍 "+title;
                jiathis_config.url = document.location;
            }
            var jiathis_config = {
                url: "",
                title: ""
            } 
        </script>
        <script type="text/javascript" src="http://v2.jiathis.com/code_mini/jia.js" charset="utf-8"></script>
        <!-- JiaThis Button END -->
    </div>
</asp:Content>
